package com.springboot.demo.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * Created by hwm on 2018/6/22.
 */
@ApiModel(description = "地址详情")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AddressDetailsVo {

    @ApiModelProperty("地址id")
    private Integer addressId;

    @ApiModelProperty("用户id")
    private Integer customerId;

//    @ApiModelProperty("省编码")
//    private String provinceCode;
//
//    @ApiModelProperty("市编码")
//    private String cityCode;
//
//    @ApiModelProperty("县/区域编码")
//    private String zoneCode;

    @ApiModelProperty("省名称")
    private String provinceName;

    @ApiModelProperty("市名称")
    private String cityName;

    @ApiModelProperty("县/区名称")
    private String zoneName;

    @ApiModelProperty("详细街道")
    private String detailedAddress;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("手机")
    private String phone;

    @ApiModelProperty("是否默认:0否,1是")
    private Integer isDefault;

    @ApiModelProperty("创建时间")
    private Date createTime;
}
